.new-main-st {
  --font-title: "Cabinet Grotesk", "Inter", sans-serif;
  --font-body: "Satoshi", "Arial", sans-serif;
  background: linear-gradient(135deg, #b4f2cf 0%, #b7f0e4 25%, #b3d9ff 55%, #c7e3ff 80%, #f3f8ff 100%);
  background-attachment: fixed;
  color: #0b1720;
  font-family: var(--font-body);
}

.slider-section,
.about-mosaic-section,
.tariffs-section,
.connect-inline-section,
.news-preview-section {
  padding-left: 16px;
  padding-right: 16px;
}

.content-box,
.slider-frame,
.about-mosaic-section,
.tariffs-section {
  max-width: 1345px;
  margin: 0 auto;
}

.slider-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.slider-frame {
  width: 1323px;
  max-width: 100%;
  aspect-ratio: 1323 / 582;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
  opacity: 0;
  animation: sliderFade 18s infinite;
}

.slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  pointer-events: none;
}

.slide-text {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
  color: #ffffff;
}

.slide-text h3 {
  font-size: 28px;
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.hero-text {
  font-size: 16px;
  margin-bottom: 16px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: #00a85a;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.hero-btn--ghost {
  background: transparent;
  color: #00a85a;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.slider .slide:nth-child(1) { animation-delay: 0s; }
.slider .slide:nth-child(2) { animation-delay: 6s; }
.slider .slide:nth-child(3) { animation-delay: 12s; }

@keyframes sliderFade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  33% { opacity: 1; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}

.about-mosaic-section {
  padding-top: 48px;
  padding-bottom: 40px;
}

.about-mosaic-header {
  text-align: center;
  margin-bottom: 32px;
}

.about-mosaic-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0075ff;
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.about-mosaic-header p {
  font-size: 14px;
  color: #4b5563;
}

.about-mosaic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.4fr);
  grid-auto-rows: minmax(110px, auto);
  gap: 12px;
}

.about-mosaic-card {
  position: relative;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.about-mosaic-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  font-family: var(--font-title);
}

.about-mosaic-card p {
  font-size: 17px;
  color: #4b5563;
  line-height: 1.4;
}

.about-mosaic-card--main {
  grid-row: 1 / span 2;
  grid-column: 1 / 2;
  background: linear-gradient(135deg, rgba(0, 168, 90, 0.08), rgba(0, 117, 255, 0.12)), rgba(255, 255, 255, 0.94);
}

.about-mosaic-card--tall {
  grid-row: 1 / span 2;
  grid-column: 2 / 3;
}

.about-mosaic-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  height: 22px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00a85a, #0075ff);
}

.tariffs-section {
  padding-top: 34px;
  padding-bottom: 24px;
}

.tariffs-header {
  text-align: center;
  margin-bottom: 32px;
}

.tariffs-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0075ff;
  margin-bottom: 8px;
  font-family: var(--font-title);
}

.tariffs-header p {
  font-size: 16px;
  color: #4b5563;
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 32px;
}

.tariff-card {
  position: relative;
  padding: 24px 24px 28px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tariff-card--accent {
  border: 2px solid rgba(0, 117, 255, 0.3);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.tariff-badge {
  position: absolute;
  top: 16px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tariff-badge--hit { background: #ff8a00; }
.tariff-badge--new { background: #00a85a; }
.tariff-badge--eco { background: #f97316; }

.tariff-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
  font-family: var(--font-title);
}

.tariff-subtitle {
  font-size: 14px;
  color: #4b5563;
}

.tariff-features {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0;
}

.tariff-features li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  color: #1f2933;
  margin-bottom: 6px;
}

.tariff-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0075ff;
  font-size: 20px;
}

.tariff-price-block {
  margin-top: 8px;
  margin-bottom: 12px;
}

.tariff-price {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.tariff-price-old {
  font-size: 14px;
  color: #9ca3af;
  text-decoration: line-through;
}

.tariff-btn,
.submit-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  border-radius: 999px;
  background: #0075ff;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 24px rgba(0, 117, 255, 0.35);
}

/* Блок заявки с максимальным приоритетом */
.new-main-st .connect-inline-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-top: 0 !important;
    padding-bottom: 24px !important;
    max-width: 1345px !important;
    margin: 0 auto !important;
    display: block !important;
}

.new-main-st .connect-inline-card {
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08) !important;
    padding: 32px 36px 28px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.new-main-st .connect-inline-header {
    text-align: center !important;
    margin-bottom: 28px !important;
}

.new-main-st .connect-inline-header h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #0075ff !important;
    margin-bottom: 8px !important;
    font-family: var(--font-title), "Cabinet Grotesk", sans-serif !important;
}

.new-main-st .connect-inline-header p {
    font-size: 16px !important;
    color: #4b5563 !important;
    margin: 0 !important;
}

.new-main-st .connect-inline-form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 20px !important;
}

.new-main-st .form-group {
    display: flex !important;
    flex-direction: column !important;
}

.new-main-st .form-group--full {
    grid-column: 1 / -1 !important;
}

.new-main-st .form-label {
    margin-bottom: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1f2933 !important;
}

.new-main-st .form-input,
.new-main-st .form-select {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    background: #f8fbff !important;
    font-size: 15px !important;
    color: #0f172a !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.new-main-st .form-input:focus,
.new-main-st .form-select:focus {
    border-color: #0075ff !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 117, 255, 0.1) !important;
}

.new-main-st .checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    cursor: pointer !important;
}

.new-main-st .checkbox-input {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.new-main-st .checkbox-custom {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(15, 23, 42, 0.16) !important;
    background: #fff !important;
    position: relative !important;
    margin-top: 2px !important;
    transition: background 0.15s ease, border-color 0.15s ease !important;
}

.new-main-st .checkbox-input:checked + .checkbox-custom {
    background: #0075ff !important;
    border-color: #0075ff !important;
}

.new-main-st .checkbox-input:checked + .checkbox-custom::after {
    content: "" !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.new-main-st .checkbox-text {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #4b5563 !important;
}

.new-main-st .checkbox-text a {
    color: #0075ff !important;
    text-decoration: none !important;
}

.new-main-st .checkbox-text a:hover {
    text-decoration: underline !important;
}

.new-main-st .submit-btn {
    margin-top: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 14px 20px !important;
    border-radius: 999px !important;
    background: #0075ff !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    border: none !important;
    box-shadow: 0 10px 24px rgba(0, 117, 255, 0.35) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

.new-main-st .submit-btn:hover {
    background: #0066e6 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 28px rgba(0, 117, 255, 0.4) !important;
}

.new-main-st .submit-btn:active {
    transform: translateY(0) !important;
}

.new-main-st .connect-inline-footer {
    margin-top: 20px !important;
    text-align: center !important;
}

.new-main-st .connect-inline-footer p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #567086 !important;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .new-main-st .connect-inline-form {
        grid-template-columns: 1fr !important;
    }
    
    .new-main-st .connect-inline-card {
        padding: 20px !important;
    }
    
    .new-main-st .connect-inline-header h2 {
        font-size: 24px !important;
    }
}
.news-preview-section {
  padding-top: 0;
  padding-bottom: 80px;
}

.news-preview-header {
  text-align: center;
  margin-bottom: 28px;
}

.news-preview-label {
  margin-bottom: 10px;
  color: #0075ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-preview-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #112033;
  font-family: var(--font-title);
  text-align: center;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 32px;
}

.news-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.news-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.news-card__body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__date {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.news-card__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  color: #0f172a;
  font-family: var(--font-title);
}

.news-card__title a {
  color: inherit;
  text-decoration: none;
}

.news-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: #4b5563;
  margin-bottom: 18px;
}

.news-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #0075ff;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-mosaic-grid,
  .tariffs-grid,
  .news-cards,
  .connect-inline-form {
    grid-template-columns: 1fr;
  }

  .about-mosaic-card--main,
  .about-mosaic-card--tall {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .tariffs-header h2,
  .about-mosaic-header h2,
  .connect-inline-header h2,
  .news-preview-title {
    font-size: 24px;
  }

  .connect-inline-card {
    padding: 20px;
  }
}

.news-preview-label {
  text-align: center;
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 700;
  color: #0075ff;
  margin-bottom: 8px;
  font-family: var(--font-title);
}
